From: Florian Müllner Date: Wed, 23 Sep 2015 18:42:24 +0000 (+0200) Subject: shell: Don't mix declarations and code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~1195 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=87f71b8ce1af3c1286f49d57da93d901644027c9;p=gnome-shell.git shell: Don't mix declarations and code --- diff --git a/src/shell-perf-helper.c b/src/shell-perf-helper.c index eea5d47be..e5eab208b 100644 --- a/src/shell-perf-helper.c +++ b/src/shell-perf-helper.c @@ -125,9 +125,10 @@ on_window_draw (GtkWidget *window, WindowInfo *info) { cairo_rectangle_int_t allocation; - gtk_widget_get_allocation (window, &allocation); double x_offset, y_offset; + gtk_widget_get_allocation (window, &allocation); + /* We draw an arbitrary pattern of red lines near the border of the * window to make it more clear than empty windows if something * is drastrically wrong.